package com.xiaoxx.model.vo.sys;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.xiaoxx.common.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * base--sys--角色管理
 * </p>
 *
 * @author HX
 * @since 2023-07-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "SysRoleVo", description = "角色列表")
public class SysRoleVo extends BaseVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色名")
    private String name;

    @ApiModelProperty(value = "查询code(不能重复)")
    private String code;

    @ApiModelProperty(value = "描叙")
    private String desc;

    @ApiModelProperty(value = "禁用(0-启用 1-禁用)")
    private Integer disable;

    @ApiModelProperty(value = "菜单")
    private List<SysMenuVo> menuVos;
}
